import request from '@/utils/request'

// 查询设备类型表列表
export function listEquipment_type(query) {
  return request({
    url: '/hospital/equipment_type/list',
    method: 'get',
    params: query
  })
}

// 查询设备类型表详细
export function getEquipment_type(equipmentTypeid) {
  return request({
    url: '/hospital/equipment_type/' + equipmentTypeid,
    method: 'get'
  })
}

// 新增设备类型表
export function addEquipment_type(data) {
  return request({
    url: '/hospital/equipment_type',
    method: 'post',
    data: data
  })
}

// 修改设备类型表
export function updateEquipment_type(data) {
  return request({
    url: '/hospital/equipment_type',
    method: 'put',
    data: data
  })
}

// 删除设备类型表
export function delEquipment_type(equipmentTypeid) {
  return request({
    url: '/hospital/equipment_type/' + equipmentTypeid,
    method: 'delete'
  })
}
